package com.gnerv.tools.entity.extend.test;

import com.gnerv.tools.entity.extend.annotation.EntityExtend;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EntityExtend(
        masterEntity = PermissionDTO.class,
        selectMethod = "com.gnerv.tools.entity.extend.test.mapper.PermissionMapper.selectPermissionById",
        column = "{id=uk_id}",
        resultType = Permission.class,
        mapKey = "permissionOne"
)
public class Permission {

    private String ukId;
    private String code;
    private String name;
    private String value;
    private String url;
    private String summary;
    private Integer status;
    private Integer sort;

}
